﻿<Window x:Class="NotificationAreaApplication1.Window1"
		xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
		xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
		xmlns:l="clr-namespace:NotificationAreaApplication1"
        xmlns:forms="clr-namespace:System.Windows.Forms;assembly=System.Windows.Forms"
		Title="NotificationAreaApplication1" Height="300" Width="300" Icon="/NotificationAreaApplication1;component/Resources/App.ico">
    <Grid>
        <l:NotificationAreaIcon 
                      Text="NotificationAreaApplication1" 
                      Icon="Resources\NotificationAreaIcon.ico"
                      MouseDoubleClick="OnNotificationAreaIconDoubleClick">
            <l:NotificationAreaIcon.MenuItems>
                <forms:MenuItem Text="Open" Click="OnMenuItemOpenClick" DefaultItem="True" />
                <forms:MenuItem Text="-" />
                <forms:MenuItem Text="Exit" Click="OnMenuItemExitClick" />
            </l:NotificationAreaIcon.MenuItems>
        </l:NotificationAreaIcon>
        <Button Content="Click Me!" Height="23" HorizontalAlignment="Left" Margin="101,109,0,0" Name="button1" VerticalAlignment="Top" Width="75" Click="button1_Click" />
    </Grid>
</Window>
